import React from 'react'
import Title from '../../ReuseTitle'
import AddForm from './UserSetAddForm'
import { connectAddress } from '../../../container/address/connectAddress'

class UserSetAddress extends React.Component {
	render() {
		return (
            <div>
              	<Title title="添加收货地址" />
              	<AddForm  
              		isAdded={this.props.address.isAdded}
              		storeId={this.props.params.storeId}
              		addAddress={this.props.addressActions.addAddress}
              		edit={false} 
              	/>
            </div>
		);
	}
}

export default connectAddress(UserSetAddress)